package org.lous.lax;

public class Atom{

  // STATIC STUFF:
	
  public enum Type{
    DATA,
    STARTTAG,
    ENDTAG,
    CLOSEDTAG,
    COMMENT,
    META,
    UNDEFINED
  }
  
  public Atom(Type type, String value, boolean valid){
    this.type = type;
    this.value = value;
    this.valid = valid;
  }
  
  public Atom(Type type, String value){
    this(type, value, true);
  }
  
	// INSTANCE STUFF:
	
  public Type type = Type.UNDEFINED;
  public String value = "";
  public boolean valid = false;
  
}